package com.ticket.sass.common.entity.tenant;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("douyin_goods_redeem_record_details")
public class DouyinGoodsRedeemRecordDetailEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("record_id")
    private Long recordId;

    @TableField("sku_id")
    private String skuId;

    @TableField("certificate_id")
    private Long certificateId;

    @TableField("encrypted_code")
    private String encryptedCode;

    @TableField("verify_result_code")
    private Integer verifyResultCode;

    @TableField("verify_result_msg")
    private String verifyResultMsg;

    @TableField("cinema_id")
    private Integer cinemaId;

    @TableField("tenant_id")
    private Integer tenantId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;
}
